package com.syq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.syq.pojo.DtsPermission;
import com.syq.vo.PermUpdateVo;

import java.util.Set;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author zhaojian
 * @since 2021-05-12
 */
public interface DtsPermissionMapper extends BaseMapper<DtsPermission> {

    Set<String> findById(Integer roleId);

    Set<String> findAll();

    void insertAll(PermUpdateVo permUpdateVo);
}
